package com.fled.itsmbigscreen.enums;

public enum PduResponseEnum {
    //电压
    VOLTAGE(19, 22),
    //电流
    CURRENT(23, 26),
    //总电能
    TOTAL_ELECTRICAL_ENERGY(27, 34),
    //有功功率
    ACTIVE_POWER(35, 38),
    //无功功率
    REACTIVE_POWER(39, 42),
    //视在功率
    APPARENT_POWER(43, 46),
    //功率因数
    POWER_FACTOR(47, 50),
    //温度
    TEMPERATURE(51, 54),
    //湿度
    HUMIDITY(55, 58),
    //插座数量
    NUMBER_OF_SOCKETS(59, 62),
    //第一支路数据总量
    TOTAL_DATA_OF_THE_FIRST_BRANCH(63, 74),
    //支路电流
    BRUANCH_CURRENT(1, 4),
    //支路功率
    BRUANCH_POWER(5, 8),
    //支路开关状态
    BRUANCH_OPEN(9, 12),
    ;
    private int begin;

    private int end;

    PduResponseEnum(int begin, int end) {
        this.begin = begin;
        this.end = end;
    }

    public int getBegin() {
        return begin;
    }

    public int getEnd() {
        return end;
    }

}
